package com.decent.ejfadmin.common.bean;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 提现记录
 *
 * @author zhangchao
 * @date 2018/7/27 15:49
 */
@Data
public class WithdrawRecord implements Serializable {
    private static final long serialVersionUID = -6941433933860303640L;
    /**
     * 收取手续费的最高金额
     */
    public static final BigDecimal MAX_SERVICE_MONEY = new BigDecimal(5000);
    /**
     * 手续费
     */
    public static final BigDecimal SERVICE_MONEY = new BigDecimal(0.5);
    private Long id;

    private Long userId;

    private String orderId;

    private Date startTime;

    private Date endTime;

    private Date checkTime;

    private Integer state;

    private Integer auditstate;

    private String auditor;

    private BigDecimal price;

    private String withdrawChannel;

    private Integer applytype;

    private String ip;

    private Integer contractId;

    private String remark;

    private String flowNo;
    /**
     * 手续费
     */
    private BigDecimal servicePrice = BigDecimal.ZERO;
    /**
     * 打款银行
     */
    private String payBank;
}
